package com.gimi.cloud.jimi.manage.service.prod;

import com.gimi.cloud.jimi.dto.product.SecurityInstructionsDTO;
import com.github.pagehelper.PageInfo;

/**
 * @auther loongs
 * @date 2018/1/30  13:29
 */
public interface SecurityInstructionsService {
    /**
     * 分页列表
     * @param securityInstructionsDTO
     * @return
     */
    PageInfo<SecurityInstructionsDTO> getSecurityInstructionsPageList(SecurityInstructionsDTO securityInstructionsDTO);

    /**
     * 获得单个
     * @param securityInstructionsDTO
     * @return
     */
    SecurityInstructionsDTO getSecurityInstructionsSingle(SecurityInstructionsDTO securityInstructionsDTO);

    /**
     * 添加或者编辑
     * @param securityInstructionsDTO
     * @return
     */
    boolean addOrEditSecurityInstructions(SecurityInstructionsDTO securityInstructionsDTO);

    /**
     * 删除
     * @param securityInstructionsDTO
     * @return
     */
    boolean delSecurityInstructions(SecurityInstructionsDTO securityInstructionsDTO);
}
